package Observer;

/**
 * @Author zhangjinxi
 * @Date: Created in 11:43 2018/3/1
 * @Description:
 */
public class MySubject extends AbstractSubject {

    @Override
    public void operation() {
        System.out.println("update self!");
        notifyObservers();
    }

}
